import request from "@/utils/request";

export function pollingList(query) {
  return request({
    url: "/ops/robot/equipmentRecord/page",
    method: "get",
    params: query
  });
}

//获取机器人下拉列表
export function robotSelectInfo(query) {
  return request({
    url: "/ops/robot/equipmentRecord/robotSelectInfo",
    method: "get",
    params: query
  });
}

//修改属性值
export function pollingEdit(data) {
  return request({
    url: "/ops/robot/equipmentRecord/edit",
    method: "put",
    data: data
  });
}
